<div class="header">
    <back-Btn cleancache="no"></back-Btn>
    无需考勤人员
    <div class="right-btn" ng-click="attendanceUser.confirm()">
        完成
    </div>
</div>
<div class="pd20 mt10">
    <div class="people-search lh40">
        <input type="text" placeholder="请输入成员姓名" ng-model="attendanceUser.search">
    </div>
</div>
<div class="container" style="padding-bottom: 50px;top:100px">
    <div class="people-list">
        <div ng-repeat="dep in attendanceUser.peoplelist|filter:attendanceUser.search track by dep.id">
            <p class="list-item">{{dep.name}}</p>
            <label class="list-item celled flex lh50" ng-repeat="item in dep.children track by item.id">
                <div class="list-item-userpic w25">
                    <div class="item-avtar tc"><img ng-src={{item.iconCls|avtarfilter}} alt="" ng-if="item.iconCls">{{(item.name| username)}}</div>
                </div>
                <div class="list-item-content w75 cl">
                    <div class="list-item-title fw fl w60 te">{{item.name}} ({{item.text}})</div>
                    <input type="checkbox" class="radio fr" value="{{item}}" ng-model="item.selected" ng-change="attendanceUser.handleUser(item)">
                </div>
            </label>
        </div>
    </div>
</div>
<div chatusers confirm="attendanceUser.confirm"></div>
